load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "stscreds",
    srcs = [
        "assume_role_provider.go",
        "web_identity_provider.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds",
    importpath = "github.com/aws/aws-sdk-go/aws/credentials/stscreds",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/aws/aws-sdk-go/aws",
        "//vendor/github.com/aws/aws-sdk-go/aws/awserr",
        "//vendor/github.com/aws/aws-sdk-go/aws/client",
        "//vendor/github.com/aws/aws-sdk-go/aws/credentials",
        "//vendor/github.com/aws/aws-sdk-go/aws/request",
        "//vendor/github.com/aws/aws-sdk-go/internal/sdkrand",
        "//vendor/github.com/aws/aws-sdk-go/service/sts",
        "//vendor/github.com/aws/aws-sdk-go/service/sts/stsiface",
    ],
)
